package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 初始角色对象 sys_initial_role
 * 
 * @author zjf
 * @date 2025-11-06
 */
public class SysInitialRole extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 初始角色Id */
    private Long initialId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 角色ID */
    @Excel(name = "角色ID")
    private Long roleId;

    /** 角色名称 */
    @Excel(name = "角色名称")
    private String roleName;

    /** 角色状态 */
    @Excel(name = "角色状态")
    private String initialStatus;

    /** 应用系统 采购商2   供应商1 */
    @Excel(name = "应用系统")
    private String applicationSystem;

    /** 用户数 */
    @Excel(name = "用户数")
    private String userCount;

    public void setInitialId(Long initialId) 
    {
        this.initialId = initialId;
    }

    public Long getInitialId() 
    {
        return initialId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setRoleId(Long roleId) 
    {
        this.roleId = roleId;
    }

    public Long getRoleId() 
    {
        return roleId;
    }

    public void setRoleName(String roleName) 
    {
        this.roleName = roleName;
    }

    public String getRoleName() 
    {
        return roleName;
    }

    public void setInitialStatus(String initialStatus) 
    {
        this.initialStatus = initialStatus;
    }

    public String getInitialStatus() 
    {
        return initialStatus;
    }

    public void setApplicationSystem(String applicationSystem) 
    {
        this.applicationSystem = applicationSystem;
    }

    public String getApplicationSystem() 
    {
        return applicationSystem;
    }

    public void setUserCount(String userCount) 
    {
        this.userCount = userCount;
    }

    public String getUserCount() 
    {
        return userCount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("initialId", getInitialId())
            .append("userId", getUserId())
            .append("roleId", getRoleId())
            .append("roleName", getRoleName())
            .append("initialStatus", getInitialStatus())
            .append("applicationSystem", getApplicationSystem())
            .append("userCount", getUserCount())
            .append("remark", getRemark())
            .append("createTime", getCreateTime())
            .toString();
    }
}
